package hc.bre.deci.action

import hc.bre.ComponentRegistry
import hc.bre.cmn.struct.DataStructItem

@groovy.transform.CompileStatic
class RuleInvoker extends ActionBuilder{
	@Override
	public String getActionResult() {
		return builder.referApplyRule(input as String);
	}

	@Override
	public DataStructItem getResultStructItem() {
		return ComponentRegistry.componentMap.get(this.act.refer as String).resultStruct.root;
	}
}
